package com.example.teacherservice.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class ClassAddDAO {
    @NotNull(message = "班级名称不能为空")
    private String className;

    private Integer classStuNum = 0; // 默认设为0

    @NotNull(message = "教师ID不能为空")
    private Long teacherId;

    private Timestamp createTime;
    private Timestamp updateTime;

    private List<Long> courseIds; // 新增课程ID列表
}